package com.great.service;

import com.great.domain.Cate;

import java.util.List;

public interface CateService {
    public List<Cate> findAllCate(int page,int size);

    public List<Cate> findAllParentCate();

    public void addcate(Cate cate);

    public Cate findById(int id);

    public void updatecate(Cate cate);

    public void delete(int id);
}
